package com.amigo.online.common.param.dto.user;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

public class PasswordDto {

	@NotBlank
	private String code;
	@NotBlank
	@Length(min=0,max=30)
	private String password;
	@NotBlank
	@Length(min=0,max=30)
	private String password2;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword2() {
		return password2;
	}
	public void setPassword2(String password2) {
		this.password2 = password2;
	}
	
	
}
